<template>
    <div class="body">
        <NavBar></NavBar>
        <!-- page页面默认pages/index -->
        <main class="container">
        <slot></slot>
    </main>
        <PageFooter></PageFooter>
    </div>
</template>
<style scoped>
.body{
    min-width: 1000px;
    background-color: rgba(243,244,246);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
</style>